package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SQuestionPrepareStart extends Object implements IMessageBase
    {
        public var serialNum:int;
        public var prepareStartDt:Date;
        public var startDt:Date;
        public var endDt:Date;
        public const _type:int = 20450;
        public static var _regist:SQuestionPrepareStart = new SQuestionPrepareStart(true);

        public function SQuestionPrepareStart(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SQuestionPrepareStart();
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.serialNum);
            param1.writeDate(this.prepareStartDt);
            param1.writeDate(this.startDt);
            param1.writeDate(this.endDt);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.serialNum = param1.readInt();
            this.prepareStartDt = param1.readDate();
            this.startDt = param1.readDate();
            this.endDt = param1.readDate();
            
        }

    }
}
